package com.boot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
/**
 * 索引控制器
 * @author ljk
 * @since 2024/3/14 22:11
 */
@Controller
public class IndexController {
    @RequestMapping("/index")
    public String index() {
        return "index";
    }
    @RequestMapping("/admin/api")
    public String admin() {
        return "admin";
    }
    @RequestMapping("/adminA/api")
    public String adminA() {
        return "adminA";
    }
    @RequestMapping("/user/api")
    public String user() {
        return "user";
    }
    @RequestMapping("/app/api")
    public String app() {
        return "app";
    }
    @RequestMapping("/noAuth")
    public String noAuth() {
        return "noAuth";
    }

}
